/* ReadMore 阅读更多按钮*/
.post-readmore{
    border: 2px solid sub-accent-color;
    &:hover {
    background-color: sub-accent-color;
    color: white;
    }
}

// 标题-移动端
@media (min-width:320px) and (max-width: 750px) {
    .pc-title{
        display:none!important;
    }
    .mobile-label{
        position:absolute;
        top:0pt;
        left:-36pt;
        display:inline-block;
        width:26pt;
        height:14pt;
        line-height:14pt;
        text-align:center;
        background:#e8e8e8;
        font-size:6pt;
        color:#7b8c9c;
        border-radius: 1pt;
        margin-right:5pt;
    }
}
// 标题-pc端
@media (min-width:751px) {
    .mobile-title{
        display :none!important;
    }
    .pc-title .pc-label{
        display:inline-block;
        width:26pt;
        height:14pt;
        line-height:14pt;
        text-align:center;
        background:#e8e8e8;
        font-size:6pt;
        color:#7b8c9c;
        border-radius: 1pt;
        margin-right:5pt;
    }
}
/*Post Header*/
.post-header{
  width:100%;
  margin-bottom:10px;
  .post-header-title{
    color:#042749;
    font-size:18px;
    font-weight:500;
    line-height:25px;
    &:hover{
      color:#096DD9;
    }
  }
}

/*Post Tags*/
.post-tags {
    display:inline-flex;
    position: relative; 
    left: 0px;
    height: 0;
    font-weight: bold;
    color: #fff;
    border: 15px solid primary-accent-color;
    border-right-color: transparent;
    box-shadow: 0 5px 5px -5px #000;
    margin: 5px 0 5px 0;
    &>i{
        align-self: center;
        margin: 0 10px 0 0;
        &>a{
            text-decoration: none;
            &:visited, &:link {
                color: unset
            }
        }
    }
}

/*Post Nav*/
.post-nav-item{
    padding: 10px 0 0 0;
    width: 45%;
    position: relative;
    display: block;
    line-height: 25px;
    font-size: 14px;
    color: #555;
    border-bottom: none;
    text-decoration: none;
    &:hover {
        color: #222;
        border-bottom: none;
    }
    &:active {
        top: 2px;
    }
    &.mdui-float-left{
        text-align: left;
        padding-left: 5px;
    }
    &.mdui-float-right{
        text-align: right;
        padding-right: 5px;
    }
    &.mdui-float-right .fa{
        font-size: 12px;
        margin-right: 5px;
    }
    &.mdui-float-left .fa{
        font-size: 12px;
        margin-left: 5px;
    }
}

/* TOC */
.toc-button{
    position: fixed;
    right: 24px; 
    top: 60%;
    height: 100%;
    & #toc{
        top: -45% !important;
        max-height: 80%;
    }
}

#toc-header {
    display: block;
    height: unset;
    text-align: center;
    font-size: 24px;
    line-height: 36px;
    opacity: .87;
}

.toc{
    padding: 0 20px;
    margin: 10px 0;
    text-align: left;
    list-style: none;
    font-size: 14px;
    & a{
        transition-duration: 0.2s;
        transition-timing-function: ease-in-out;
        transition-delay: 0s;
        transition-property: all;
        color: #666;
        border-bottom-color: #ccc;
        &:visited, &:link {
            color: unset
        }
        &:hover {
            color: #000;
            border-bottom-color: #000;
        }
    }
    & .toc-item {
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.8;
        opacity: .87;
        &.toc-level-1{
            opacity: .95;
        }
    }
    & ol{
        margin: 0;
        padding: 0 2px 5px 10px;
        text-align: left;
        list-style: none;
        font-size: 14px;
    }
    & ol > ol {
        padding-left: 0;
    }
}

#achieve-abstract{
  margin:0px!important;
  padding:0px!important;
  line-height:22px!important;
  margin-bottom:16px!important;
  color:#385775!important;
  overflow:hidden!important;
}


#article .mdui-card-content{
    font-size: 16px;
}

/*Post Abstract*/
.mdui-card-content .post-abstract{
    font-size: 14px;
}
/*摘要超出部分使用省略号*/
.post-abstract{
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}